internal/runtime/cgroup.lineReader.newline (field)
12 uses
internal/runtime/cgroup (current package)
line_reader.go#L44: newline int // index of the first newline in scratch.
line_reader.go#L66: newline: -1,
line_reader.go#L91: prevComplete := r.newline >= 0
line_reader.go#L97: copy(r.scratch, r.scratch[r.newline+1:r.n])
line_reader.go#L98: r.n -= r.newline + 1
line_reader.go#L100: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L101: if r.newline >= 0 {
line_reader.go#L131: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L135: if r.newline < 0 {
line_reader.go#L147: if r.newline < 0 {
line_reader.go#L173: if r.newline < 0 {
line_reader.go#L178: return r.scratch[:r.newline]
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |